package actions.standard.form;

import gui.standard.form.PoslovnaGodinaForm;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

public class OtvoriPocetnoStanjeAction extends AbstractAction {

	private static final long serialVersionUID = 1L;
	private PoslovnaGodinaForm pgForm;
	
	public OtvoriPocetnoStanjeAction(PoslovnaGodinaForm pgForm) {
		putValue(SMALL_ICON, new ImageIcon("img/book.gif"));
		putValue(SHORT_DESCRIPTION, "Otvori novo pocetno stanje");
		this.pgForm = pgForm;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		pgForm.otvoriPocetnoStanje();
	}

}
